<%--
  Created by IntelliJ IDEA.
  User: shen
  Date: 2020/2/28
  Time: 17:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<form class="form-horizontal" action="" method="post" id="updateStudent">
    <legend>学生账号信息</legend>
    <input type="hidden" name="sstsUserID" value="${sessionScope.selectStudentById.sstsUserID}" />
    <div class="form-group">
        <label for="" class="col-sm-4 control-label">学号:</label>
        <div class="col-sm-4">
            <label>
                <div class="input-group text">
						<span class="input-group-addon">
							<i class="fa fa-user"></i>
				      </span><input type="text" name="sstsNo" class="form-control"value="${sessionScope.selectStudentById.sstsNo}" disabled>
                    <input type="hidden" name="sstsNo" value="${sessionScope.selectStudentById.sstsNo}" />

                </div>
            </label>
        </div>
    </div>
    <div class="form-group">
        <label for="" class="col-sm-4 control-label">用户名：</label>
        <div class="col-sm-4">
            <label>
                <div class="input-group text">
						<span class="input-group-addon">
							<i class="fa fa-user"></i>
							</span>	<input type="text" name="username" value="${sessionScope.selectStudentById.username}" placeholder="请输入用户名" id="username" required="true" class="form-control">
                </div>
            </label>
        </div>
    </div>


    <div class="form-group">
        <label for="" class="col-sm-4 control-label"><font color="red"><b>*</b></font>新密码:</label>
        <div class="col-sm-4">
            <label>
                <div class="input-group password">
                    <span class="input-group-addon">
                        <i class="fa fa-lock"></i>
                    </span><input type="text" name="password" value="${sessionScope.selectStudentById.password}" placeholder="请输入新密码" class="form-control" id="" required="true">
                 </div>
            </label>
        </div>
    </div>

    <div class="modal-footer" style="text-align: center">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary" onclick="updateSave(${sessionScope.selectStudentById.sstsUserID})">保存</button>
    </div>
</form>
